package com.loves.admin.service;

import com.loves.admin.service.impl.LoginServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "auth-service",fallback = LoginServiceImpl.class)
public interface LoginService {
    @GetMapping("/test/name")
    String test();
}
